/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package resourceplan;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Role</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link resourceplan.Role#getAllocations <em>Allocations</em>}</li>
 *   <li>{@link resourceplan.Role#getName <em>Name</em>}</li>
 *   <li>{@link resourceplan.Role#getWorkload <em>Workload</em>}</li>
 *   <li>{@link resourceplan.Role#getCompetency <em>Competency</em>}</li>
 * </ul>
 * </p>
 *
 * @see resourceplan.ResourceplanPackage#getRole()
 * @model annotation="gmf.node label='name'"
 * @generated
 */
public interface Role extends EObject {
	/**
	 * Returns the value of the '<em><b>Allocations</b></em>' reference list.
	 * The list contents are of type {@link resourceplan.Allocation}.
	 * It is bidirectional and its opposite is '{@link resourceplan.Allocation#getRole <em>Role</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Allocations</em>' reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Allocations</em>' reference list.
	 * @see resourceplan.ResourceplanPackage#getRole_Allocations()
	 * @see resourceplan.Allocation#getRole
	 * @model opposite="role"
	 * @generated
	 */
	EList<Allocation> getAllocations();

	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see resourceplan.ResourceplanPackage#getRole_Name()
	 * @model
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link resourceplan.Role#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Workload</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Workload</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Workload</em>' attribute.
	 * @see #setWorkload(float)
	 * @see resourceplan.ResourceplanPackage#getRole_Workload()
	 * @model derived="true"
	 * @generated
	 */
	float getWorkload();

	/**
	 * Sets the value of the '{@link resourceplan.Role#getWorkload <em>Workload</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Workload</em>' attribute.
	 * @see #getWorkload()
	 * @generated
	 */
	void setWorkload(float value);

	/**
	 * Returns the value of the '<em><b>Competency</b></em>' attribute.
	 * The literals are from the enumeration {@link resourceplan.Competency}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Competency</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Competency</em>' attribute.
	 * @see resourceplan.Competency
	 * @see #setCompetency(Competency)
	 * @see resourceplan.ResourceplanPackage#getRole_Competency()
	 * @model derived="true"
	 * @generated
	 */
	Competency getCompetency();

	/**
	 * Sets the value of the '{@link resourceplan.Role#getCompetency <em>Competency</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Competency</em>' attribute.
	 * @see resourceplan.Competency
	 * @see #getCompetency()
	 * @generated
	 */
	void setCompetency(Competency value);

} // Role
